2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_prepare): cast the return
value of _gdk_pixbuf_scaled_anim_new() to fix incompatible pointer
warning.
svn path=/trunk/; revision=19364
+2008-01-14 Michael Natterer <mitch@imendio.com>
+
+ * gdk-pixbuf-loader.c (gdk_pixbuf_loader_prepare): cast the return
+ value of _gdk_pixbuf_scaled_anim_new() to fix incompatible pointer
+ warning.
+
2007-12-09 Matthias Clasen <mclasen@redhat.com>
* io-jpeg.c: Fix the spinguard logic for big buffers.
anim = gdk_pixbuf_non_anim_new (pixbuf);
if (priv->needs_scale) {
- priv->animation = _gdk_pixbuf_scaled_anim_new (anim,
+ priv->animation = GDK_PIXBUF_ANIMATION (_gdk_pixbuf_scaled_anim_new (anim,
(double) priv->width / gdk_pixbuf_get_width (pixbuf),
(double) priv->height / gdk_pixbuf_get_height (pixbuf),
- 1.0);
+ 1.0));
g_object_unref (anim);
}
else